<%@ page language="java" pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<table cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td height="40" colspan="2" class="sectionheading bottom-border">
			Invoices Report
		</td>
	</tr>
	<tr>
		<td height="10">Below is the history of the invoices sent by the system to the users.</td>
	</tr>
	<tr>
		<td>
			<display:table name="auctionInvoicesList" cellpadding="0" cellspacing="0" requestURI="createDepositsReport.htm" id="row" class="verdana12blacknormal" decorator="org.displaytag.decorator.TotalTableDecorator">
				<display:column title="#" headerClass="Table-Head" style="text-align: center">
					<c:out value="${row_rowNum}" />
				</display:column>
				<display:column headerClass="Table-Head" style="text-align: center" property="invoice" title="Invoice No." class="navi-link" href="viewInvoiceDetails.htm" paramId="invoice" paramProperty="invoice" autolink="true" />
				<display:column headerClass="Table-Head" style="text-align: center" title="Date" autolink="true">
					<s:date name="#attr.row.date" format="dd MMMM, yyyy" />
				</display:column>
				<display:column headerClass="Table-Head" style="text-align: right" property="amount" title="Amount" class="navi-link" format="{0,number,0.00} $" total="true" />
				<display:column headerClass="Table-Head" style="text-align: center" property="vat" title="VAT" class="navi-link" format="{0,number,0.00} $" total="true" />
				<display:column headerClass="Table-Head" style="text-align: right" property="balance" title="Total Amount" class="navi-link" format="{0,number,0.00} $" total="true" />
			</display:table>
		</td>
	</tr>
</table>